import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  Container,
  Button,
  Select,
  Dropdown,
  DropdownItem,
  DropdownMenu,
  Row,
  Col,
  Table,
  TableColumn,
  Form,
  FormItem,
  Input,
  // DatePicker,
  Pagination,
  Message,
  Option,
  MessageBox,
  Loading,
  TimePicker,
  Tooltip,
  Checkbox,
  CheckboxGroup
} from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
Vue.config.productionTip = false;
Vue.use(Button);
Vue.use(Tooltip)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Loading);
Vue.use(Dropdown);
Vue.use(DropdownItem);
Vue.use(DropdownMenu);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Container);
Vue.use(Row);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Col);
Vue.use(Input);
// Vue.use(DatePicker);
Vue.use(Pagination);
Vue.use(Option);
Vue.use(TimePicker)
Vue.component(Message.name, Message)
Vue.prototype.$message = Message;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm
Vue.config.productionTip = false
// Vue.prototype.$postUrlbase= process.env.VUE_APP_BASEURL;
// axios.defaults.baseURL = process.env.VUE_APP_BASEURL;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')